import React from 'react'
import { Carousel } from 'antd-mobile'
import Item from 'antd-mobile/lib/popover/Item'
import './MineBanner.less'
function MineBanner(props) {
    let { bannerShow } = props
    return (
        <div className="banner_show">
            <Carousel
                autoplay={true}
                infinite
            >
                {bannerShow.map(item => (

                    <img
                        key={item.id}
                        src={item.img}
                        alt=""
                    />
                ))}
            </Carousel>
        </div>
    )
}
export default React.memo(MineBanner)
